package com.gxa.uhome.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author: qingyao
 * @date: 12:10 2021/6/5
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Admin 管理员(操作员)的实体类")
public class Admin implements Serializable {
    @ApiModelProperty(name = "id", notes = "主键", dataType = "Integer", required = false)
    private Integer id;
    @ApiModelProperty(name = "nickName", notes = "用户名", dataType = "String", required = true)
    private String nickName;
    @ApiModelProperty(name = "pwd", notes = "密码", dataType = "String", required = true)
    private String pwd;
    @ApiModelProperty(name = "realName", notes = "真实姓名", dataType = "String", required = true)
    private String realName;

    private List<Role> roleList;
}
